package com.ruoyi.deeplearn.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 数据分类对象 deep_classify_type
 *
 * @author rww
 * @date 2023-09-14
 */
public class DeepClassifyType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long id;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String name;

    /** 类型值 */
    @Excel(name = "类型值")
    private String code;

    /** 状态：（0正常 1停用） */
    @Excel(name = "状态：", readConverterExp = "0=正常,1=停用")
    private Integer status;
    /////////////////////////////////////////////////////
    public static final  String type_classify = "classify";//分类
    public static final  String type_detection = "detection";//检测
    public static final  String type_partition = "partition";//分割
    public static final  String type_recognition = "recognition";//识别
    public static final  String type_point_dimension = "point_dimension";//点标注
    public static final  String type_line_dimension = "line_dimension";//线标注
    public static final  String type_pixel_dimension = "pixel_dimension";//像素标注
    /////////////////////////////////////////////////////

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setCode(String code)
    {
        this.code = code;
    }

    public String getCode()
    {
        return code;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("name", getName())
            .append("code", getCode())
            .append("status", getStatus())
            .toString();
    }
}
